package a;

public class DemoTest {
    public static void main(String[] args) {
        //线程1
        MyThread my1 = new MyThread();

        //线程2
        MyThread my2 = new MyThread();

        //开启线程的方式
        my1.start(); //start()方法会去找run()
        my2.start();
    }
}
